//
//  UILabel+AlertActionFont.m
//  Manage
//
//  Created by 杨康 on 2017/11/9.
//  Copyright © 2017年 杨康. All rights reserved.
//

#import "UILabel+AlertActionFont.h"

@implementation UILabel (AlertActionFont)
- (void)setAppearanceFont:(UIFont *)appearanceFont
{
    if(appearanceFont)
    {
        [self setFont:appearanceFont];
    }
}

- (UIFont *)appearanceFont
{
    return self.font;
}
//                UIAlertController *alertController=[UIAlertController alertControllerWithTitle:nil message:nil preferredStyle:UIAlertControllerStyleActionSheet];
//
//                UIAlertAction *adminAction=[UIAlertAction actionWithTitle:@"管理员" style:UIAlertActionStyleDefault handler:^(UIAlertAction * _Nonnull action) {
//
//                }];
//
//                UIAlertAction *storeAction=[UIAlertAction actionWithTitle:@"门店" style:UIAlertActionStyleDefault handler:^(UIAlertAction * _Nonnull action) {
//
//                }];
//
//                UIAlertAction *repairerAction=[UIAlertAction actionWithTitle:@"修理商" style:UIAlertActionStyleDefault handler:^(UIAlertAction * _Nonnull action) {
//
//                }];
//
//                UIAlertAction *evmAction=[UIAlertAction actionWithTitle:@"电动车厂商" style:UIAlertActionStyleDefault handler:^(UIAlertAction * _Nonnull action) {
//
//                }];
//                UIAlertAction *policeAction=[UIAlertAction actionWithTitle:@"民警" style:UIAlertActionStyleDefault handler:^(UIAlertAction * _Nonnull action) {
//
//                }];
//
//                UIAlertAction *propertyAction=[UIAlertAction actionWithTitle:@"物业" style:UIAlertActionStyleDefault handler:^(UIAlertAction * _Nonnull action) {
//
//                }];
//                [adminAction setValue:[UIColor color6] forKey:@"titleTextColor"];
//                [storeAction setValue:[UIColor color6] forKey:@"titleTextColor"];
//                [repairerAction setValue:[UIColor color6] forKey:@"titleTextColor"];
//                [evmAction setValue:[UIColor color6] forKey:@"titleTextColor"];
//                [policeAction setValue:[UIColor color6] forKey:@"titleTextColor"];
//                [propertyAction setValue:[UIColor color6] forKey:@"titleTextColor"];
//
//
//                UILabel *appearanceLabel = [UILabel appearanceWhenContainedIn:UIAlertController.class, nil];
//                UIFont *font = [UIFont systemFontOfSize:13];
//                [appearanceLabel setAppearanceFont:font];
//
//
//
//
//
//
//                [alertController addAction:adminAction];
//                [alertController addAction:storeAction];
//                [alertController addAction:repairerAction];
//
//                [alertController addAction:evmAction];
//                [alertController addAction:policeAction];
//                [alertController addAction:propertyAction];
//
//                [self presentViewController:alertController animated:YES completion:nil];

@end
